import { Handle, Position, NodeProps } from 'reactflow';

export default function ServerNode({ data }: NodeProps) {
  return (
    <div className="server-node">
      <Handle type="target" position={Position.Left} />
      <span role="img" aria-label="server">🖥️</span>
      <div>{data.label}</div>
      <Handle type="source" position={Position.Right} />
    </div>
  );
}